#ifndef _BONITO_H_
#define _BONITO_H_

#if	(TOT_NODE_NUM >= 8)
#define MPS_STEP	5
#define VOL_mV(x)	(x / MPS_STEP - 49)
#ifdef BOARD_3C5000L_2W_V01
#define MPS_ADDR	(0x40 << 1)
#else
#define MPS_ADDR	(0x4b << 1)
#endif

#else
#define MPS_STEP	10
#define VOL_mV(x)	(x / MPS_STEP - 49)
#define MPS_ADDR	(0x6b << 1)
#endif
#define DVFS_RAM_SIZE	2	//2M at 0xee000000
#define LOW_VOL_ADJUST	5	//LOW_VOL = 850 + N * 10 mV
#endif /* _BONITO_H_ */
